package com.vegetable.modules.entity.finance.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.vegetable.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 财务收款管理
 * </p>
 *
 * @author wangruijie
 * @since 2024-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="FinancialCollectionStatistics对象", description="财务收款管理")
public class FinancialCollectionStatistics extends BaseEntity {

    @ApiModelProperty(value = "商户ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long customerId;

    @ApiModelProperty(value = "商户名称")
    private String customerName;

    @ApiModelProperty(value = "扣款金额")
    private BigDecimal totalDeductionMoney;

    @ApiModelProperty(value = "已收款")
    private BigDecimal totalReceivedMoney;

    @ApiModelProperty(value = "已分配金额")
    private BigDecimal totalAllocatedMoney;

    @ApiModelProperty(value = "未分配金额")
    private BigDecimal totalUnAllocatedMoney;

}
